package com.boot.common.constant;

public class ProductConstant {

    public enum ProductStatusCode{

        CREATED(0,"新建"),
        ASSIGNED(1,"上架"),
        RECEIVE(2,"下架");

        private int code;
        private String msg;

        public int getCode() {
            return code;
        }
        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }
        public void setMsg(String msg) {
            this.msg = msg;
        }

        ProductStatusCode(int code, String msg){
            this.code = code;
            this.msg = msg;
        }

    }
}
